package com.zc.z_test;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;

public class Task {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    public void rebate() {
        logger.debug("scheduling task rebate");
        incomeCount();

    }

    //定时添加用户信息
    private void incomeCount() {
        System.out.println("定时器开启");
    };
}